﻿using System;
using System.Runtime.Serialization;

namespace NewsSystem.ClientModels
{
    [DataContract(Name = "ArticleNotificationModel")]
    public class ArticleNotificationModel
    {
        [DataMember(Name = "title")]
        public string Title { get; set; }

        [DataMember(Name = "creationDate")]
        public DateTime CreationDate { get; set; }

        [DataMember(Name = "authorNickname")]
        public string AuthorNickname { get; set; }

        [DataMember(Name = "articleId")]
        public int ArticleId { get; set; }
    }
}